/**
 * @apiDefine tool 工具
 */

/**
 * @api {POST} /query_trade_state 查询交易状态
 * @apiSampleRequest /query_trade_state
 * @apiGroup tool
 * @apiUse tool
 * @apiParam {Number} order_sn 订单号
 * @apiParam {Number} typ 支付方式，wx，ali
 * @apiSuccess {Object} /data 数据
 * @apiSuccessExample {json} 成功响应：
 * HTTP/1.1 200 OK
 * {
 *     "errcode": 0,
 *     "traded_no": "",
 *     "trade_state": "PAYERROR",
 *     "res": {
 *         "return_code": "SUCCESS",
 *         "return_msg": "OK",
 *         "result_code": "SUCCESS",
 *         "mch_id": "1613424585",
 *         "appid": "wxe9b6e3273506cfbd",
 *         "trade_state": "PAYERROR",
 *         "out_trade_no": "21121610073580611606B7JM",
 *         "attach": null,
 *         "trade_state_desc": "支付失败，请撤销订单",
 *         "nonce_str": "MtNLlISqfz0BTN4V",
 *         "sign": "9341FF23D1646B73AF6E280A4C440516"
 *     },
 *     "err": null
 * }
 */
